Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to zeto v0.0.8; check transfer amount against range #418

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jimthematrix
Copy link
Contributor

@jimthematrix jimthematrix commented Nov 8, 2024

fixes #368

The zkp circuits in Zeto enforces a range of the transfer amount used in the private input of proof generation. This PR makes it impossible to violate that limitation by enforcing that the total amount of mints or transfers must be less than the maximum value. This way the client application request will be rejected right away rather than finding out from the transaction revert instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reject Zeto transfers outside the Snark-safe value range
1 participant